<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 7/10/14
 * Time: 10:54 AM
 */

namespace CheckList\Form;
use Zend\Form\Form;
use Zend\Stdlib\Hydrator\ClassMethods;

class TaskForm extends Form{
    public function __construct()
    {
        parent::__construct('task');

        $this->setAttribute('method', 'post');
        //$this->setInputFilter(new TaskFilter());
        $this->setHydrator(new ClassMethods());

        $this->add(array(
            'name' => 'id' ,
            'type' => 'hidden'
        ));


    }
} 